var ane = function() { // 海葵
	this.x = [];
	this.y = [];
}
ane.prototype.num = 50; //花魁个数

ane.prototype.init = function() {
	for (var i = 0; i < this.num; i++) {
		this.x[i] = 0;
		this.y[i] = 0;
		this.x[i] = i * 16 + Math.random() * 20;
		this.y[i] = 150 + Math.random() * 50;
	}
}

ane.prototype.draw = function() { //绘制花魁
	ctx2.save();
	ctx2.globalAlpha = .7; //透明度
	ctx2.lineWidth = 15;
	ctx2.lineCap = 'round'; //不能用closePath
	ctx2.strokeStyle = '#3b154e';
	for (var i = 0; i < this.num; i++) {
		ctx2.beginPath();
		ctx2.moveTo(this.x[i], canHeight);
		ctx2.lineTo(this.x[i], canHeight - this.y[i]);
		ctx2.stroke();
	}
	ctx2.restore();
}